package com.zxmzy.scaffold.project

import android.annotation.SuppressLint
import android.content.Context
import android.util.Log
import com.zxmzy.scaffold.core.base.BaseApplication
import com.zxmzy.scaffold.http.RequestManager

/**
 * @author zhangxiaoming
 * @date 2023/7/27
 * @description
 */
class MyApplication : BaseApplication() {
    override fun onCreate() {
        super.onCreate()
        context = this.applicationContext
        Log.d("app:", "aaa")
        RequestManager.get().init(this, "http://192.168.2.27:9080",true)
    }
    companion object{
        @SuppressLint("StaticFieldLeak")
        lateinit var context: Context
    }
}